<?php
// $arr = ['apple', 'pear', 'cherry', 'orange', 'pp' => 'grape'];
//
// echo '<pre>';
// print_r($arr);
//
// echo $arr[2], '&nbsp;', $arr['pp'];
// echo '<br>';
// list($a, $b, $c) = $arr;
// echo $a, '&nbsp;', $b, '&nbsp;', $c;

echo '<pre>';
//print_r($_SERVER);
echo $_SERVER['SERVER_ADDR'], '<br>';
echo $_SERVER['SERVER_PORT'], '<br>';
echo $_SERVER['SCRIPT_FILENAME'], '<br>';
echo $_SERVER['SCRIPT_NAME'], '<br>';
